package com.xxgc.ssm.po.info;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

@Component
@Scope("prototype")
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Info {
    /**
     * -200 注册失败
     * -201 参数校验失败
     * -202 手机号已经被注册
     * -203 用户名或密码错误
     *
     *
     * 200 成功
     */
    private Integer code;//返回状态码
    private Object Data;//返回数据
    private String msg;//消息
    private String version = "V0.0.2";//版本信息
}
